import requests

class loginDemoAPI():
    def __init__(self):
        self.url = "http://ihrm-test.itheima.net/api/sys/login"

    def login_d(self, json_data):
        return requests.post(url=self.url, json=json_data)